package text;

public class TextSuffix extends TextValue {
    private TextComponent component;

    public TextSuffix(TextComponent component, String value) {
        super(value);
        this.component = component;
    }

    @Override
    public String getValue() {
        return component.getValue() + this.value;
    }
}
